$OpenBSD: patch-bytesex_h,v 1.2 2012/08/21 08:25:03 landry Exp $
--- bytesex.h.orig	Tue Mar 13 06:46:18 2001
+++ bytesex.h	Tue Aug 21 02:24:11 2012
@@ -4,10 +4,12 @@
 #define S10SH_BYTESEX_H
 
 #if 	defined(__i386__) \
+	|| defined(__amd64__) \
 	|| defined(__alpha__) \
 	|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
 #define BYTE_ORDER_LITTLE_ENDIAN
 #elif 	defined(__mc68000__) \
+	|| defined (__hppa__) \
 	|| defined (__sparc__) \
 	|| defined (__sparc) \
 	|| defined (__PPC__) \
